#!/usr/bin/env python
# encoding: utf-8
# @author: zhaifg
# @file: urls.py

from django.conf.urls import url
from .views import (
    IDCView,
    IDCAddView,
    IDCUpdateView,
    IDCDelView,
)

urlpatterns = [
    url(r'^idc/$', IDCView.as_view(), name="idc"),
    url(r'^idc/add$', IDCAddView.as_view(), name="idc_add"),
    url(r'^idc/update/(?P<idc_id>\d+)/$', IDCUpdateView.as_view(), name="idc_update"),
    url(r'^idc/del/(?P<idc_id>\d+)/$', IDCDelView.as_view(), name="idc_del"),
]